package edu.zut.hb.ambition.outpatienttype.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.OutpatienttypeMapper;
import com.ruoyi.system.domain.Outpatienttype;
import com.ruoyi.system.service.IOutpatienttypeService;


@Service
public class OutpatienttypeServiceImpl implements IOutpatienttypeService 
{
    @Autowired
    private OutpatienttypeMapper outpatienttypeMapper;


    @Override
    public Outpatienttype selectOutpatienttypeByOutpatientid(Long outpatientid)
    {
        return outpatienttypeMapper.selectOutpatienttypeByOutpatientid(outpatientid);
    }


    @Override
    public List<Outpatienttype> selectOutpatienttypeList(Outpatienttype outpatienttype)
    {
        return outpatienttypeMapper.selectOutpatienttypeList(outpatienttype);
    }


    @Override
    public int insertOutpatienttype(Outpatienttype outpatienttype)
    {
        return outpatienttypeMapper.insertOutpatienttype(outpatienttype);
    }


    @Override
    public int updateOutpatienttype(Outpatienttype outpatienttype)
    {
        return outpatienttypeMapper.updateOutpatienttype(outpatienttype);
    }

    @Override
    public int deleteOutpatienttypeByOutpatientids(Long[] outpatientids)
    {
        return outpatienttypeMapper.deleteOutpatienttypeByOutpatientids(outpatientids);
    }


    @Override
    public int deleteOutpatienttypeByOutpatientid(Long outpatientid)
    {
        return outpatienttypeMapper.deleteOutpatienttypeByOutpatientid(outpatientid);
    }
}
